<template>
<div id="buy">
    <div class="section ">
      <div class="cart_content">
        <div class="loc-wrap flex">
          <div class="poi-wrap poi-wrap-0">
            <div class="position-poi">弓箭坊40号
              <i style="font-size: 12px;position: relative;top: -1px;padding-left: 2px;">(当前位置)</i>
            </div>
          </div>
        </div>
        <ul class="ul">
          <li class="pos-cart">
            <div class="contsty">
              <div class="title">
                <p>鲜家-新街口店(苏红菜场）</p>
              </div>
              <div class="content-list flex ">
                <ul class="productItem flex-item">
                  <li class="product">
                    <img :src="assets.qingcai" alt="" class="pic">
                    <span class="text ">¥0.9</span>
                  </li>
                </ul>
              </div>
            </div>
          </li>
           <li class="pos-cart">
            <div class="contsty">
              <div class="title">
                <p>沃尔玛-秦淮店				</p>
              </div>
              <div class="content-list flex ">
                <ul class="productItem flex-item">
                  <li class="product">
                    <img :src="assets.suanmilk" alt="" class="pic">
                    <span class="text ">¥18.8</span>
                  </li>
                  <li class="product">
                    <img :src="assets.yumi" alt="" class="pic">
                    <span class="text ">¥20.9</span>
                  </li>
                </ul>
              </div>
            </div>
          </li>
        </ul>
      </div>




      <div class="navigation footer-nav ipx-pad">
        <span class="navigation-item" @click="index()">
          <i class="iconfont1 icon-home"></i>
          <span class="navigation-item-label">首页</span>
        </span>
        <span class="navigation-item" @click="find()">
          <i class="iconfont2 icon-home"></i>
          <span class="navigation-item-label">发现</span>
        </span>
        <span class="navigation-item">
          <i class="iconfont3 icon-home"></i>
          <span class="navigation-item-label nav-item-label1">购物车</span>
        </span>
        <span class="navigation-item" @click="list()">
          <i class="iconfont4 icon-home"></i>
          <span class="navigation-item-label">订单</span>
        </span>
        <span class="navigation-item" @click="mine()">
          <i class="iconfont5 icon-home"></i>
          <span class="navigation-item-label">我的</span>
        </span>
      </div> 
    </div>








  
</div>
</template>

<style lang="scss" scoped>
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: 400;
  font-style: normal;
}
#buy {
  .section {
    width: 100%;
    .cart_content {
      padding: 0 0 60px;
      text-align: center;
      background-color: #f4f4f4;
      .loc-wrap {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        padding: 15px 0;
        .poi-wrap {
          display: inline-block;
          vertical-align: top;
          padding: 6px 7px;
          border-radius: 32px;
          background-color: #d1e7d3;
          .position-poi {
            line-height: 22px;
            padding: 0 14px 0 31px;
            border-radius: 22px;
            font-size: 14px;
            color: #fff;
            background: url("http://127.0.0.1:8088/upload/location.png") 13px
              no-repeat #47b34f;
            background-size: 10px 12px;
            display: inline-block;
            vertical-align: top;
          }
        }
      }
      .ul {
        list-style: none;
        .pos-cart {
          position: relative;
          margin: 0 6px 7px;
          text-align: left;
          height: 141px;
          overflow: hidden;
          padding: 3px 4% 10px 1.6%;
          background: url("http://127.0.0.1:8088/upload/gc.16e813d0.png") 0 0
            no-repeat;
          background-size: 100% 154px;
          .contsty {
            overflow: hidden;
            padding-left: 2.4%;
            float: left;
            width: 97.6%;
            .title {
              display: block;
              position: relative;
              z-index: 3;
              line-height: 44px;
              height: 147px;
              margin-bottom: -103px;
              color: #333;
              font-size: 15px;
              background: url("http://127.0.0.1:8088/upload/toright.png") right
                17px no-repeat;
            }
            .content-list {
              position: relative;
              z-index: 2;
              height: 92px;
              padding: 1px 0 0;
              display: flex;
              .productItem {
                padding-right: 30px;
              }
              .flex-item {
                flex: 1 1;
                overflow: hidden;
                .product {
                  vertical-align: top;
                  width: 52px;
                  position: relative;
                  display: inline-block;
                  height: 83px;
                  margin-top: 14px;
                  padding-right: 32px;
                  margin-right: -22px;
                  text-align: center;
                  font-size: 12px;
                  line-height: 30px;
                  color: #333;
                  .text {
                    display: block;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                  }
                  .pic {
                    height: 52px;
                    border-radius: 5px;
                    vertical-align: top;
                    width: 52px;
                  }
                }
              }
            }
          }
        }
      }
    }

    .footer-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      font-size: 12px;
      z-index: 1001;
      align-items: center;
      display: flex;
    }
    .navigation {
      align-items: center;
      background-image: linear-gradient(
        180deg,
        #e8e8e8,
        #e8e8e8 50%,
        transparent 0
      );
      background-size: 100% 1px;
      background-repeat: no-repeat;
      background-position: 0 0;
      background-color: #fff;
      height: 50px;
      .navigation-item {
        display: inline-block;
        width: 75px;
        position: relative;
        color: #555;
        flex: 1 1;
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0%;
        flex-direction: column;
        height: 100%;
        justify-content: center;
        text-align: center;
        // color: #39ac69;
        display: flex;
        .iconfont1 {
          background: url("http://127.0.0.1:8088/upload/nav6.fe8f6378.png")
            no-repeat;
          height: 30px;
          background-size: 24px auto;
          background-position: center 0;
        }
        .iconfont2 {
          background: url("http://127.0.0.1:8088/upload/nav6.fe8f6378.png")
            no-repeat;
          height: 30px;
          background-size: 24px auto;
          background-position: center -601px;
        }
        .iconfont3 {
          background: url("http://127.0.0.1:8088/upload/nav6.fe8f6378.png")
            no-repeat;
          height: 30px;
          background-size: 24px auto;
          background-position: center -150px;
        }
        .iconfont4 {
          background: url("http://127.0.0.1:8088/upload/nav6.fe8f6378.png")
            no-repeat;
          height: 30px;
          background-size: 24px auto;
          background-position: center -200px;
        }
        .iconfont5 {
          background: url("http://127.0.0.1:8088/upload/nav6.fe8f6378.png")
            no-repeat;
          height: 30px;
          background-size: 24px auto;
          background-position: center -300px;
        }
        .navigation-item-label {
          display: block;
          height: 20px;
          line-height: 17px;
        }
        .nav-item-label1 {
          color: #39ac69;
        }
      }
    }
  }
}
</style>

<script>
export default {
  data() {
    return {};
  },
  created() {},
  methods: {
    index() {
      this.$router.push({
        name: "index"
      });
    },
    find() {
      this.$router.push({
        name: "find"
      });
    },
    list() {
      this.$router.push({
        name: "list"
      });
    },
    mine() {
      this.$router.push({
        name: "mine"
      });
    }
  }
};
</script>



